package com.ktjy.factory.abstractTest;

import com.ktjy.factory.method.Hours;

public class Worker {
    public static void main(String[] args) {
        Hours[] hours=Worker.class.getAnnotationsByType(Hours.class);
        for(Hours h:hours){
            System.out.println(h);
        }
    }
}
